package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "中台监控-内部单位配置表", description = "")
@TableName("conf_mp_org")
public class ConfMpOrg extends Model<ConfMpOrg> {
    /**
     * 主键，唯一标识数据
     */
    @ApiModelProperty(value = "主键", notes = "主键，唯一标识数据")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 单位编码
     */
    @ApiModelProperty(value = "单位编码", notes = "单位编码")
    private String orgCode;

    /**
     * 单位名称
     */
    @ApiModelProperty(value = "单位名称", notes = "单位名称")
    private String orgName;

    /**
     * 单位类型，字典：mp_org_type
     */
    @ApiModelProperty(value = "单位类型", notes = "单位类型，字典：mp_org_type")
    private String orgType;
}
